package com.wiretap.service;

import java.util.List;

import com.wiretap.po.Motion;
import com.wiretap.util.Pager;

public interface MotionService {
	void addMotion(String eCid,String eContent,String msgId,String phone)throws Exception;
	//通过消息ID添加Motion
	boolean addMotionByMessage(String mid) throws Exception;
	void updateMotionExcuteStatus(String id,boolean excuted)throws Exception;
	boolean removeMotion(String id)throws Exception;
	Pager<Motion> getAllMotionByPhone(String phone,int currentPage,int pageSize) throws Exception;
	List<Motion> getUnExcuteMotionByPhone(String phone) throws Exception;
}
